package org.hnsd.train.design.lsp;

import java.util.Collection;
import java.util.Map;

/**
 * @author youqd
 * @tag.date 2023-10-25 15:12
 **/
public class Son extends Father {
    //放大输入参数类型
    public Collection doSomething(Map map){
        System.out.println("子类被执行...");
        return map.values();
    }
}
